package com.smartalarmclock.UI;

public class LogListItem {

	private String m_Name;
	private String m_LastUse;
	boolean m_Selected = false;
	private String m_LogMsg = null;
	private int m_id;
	
	public LogListItem(String i_Name, String i_LastUse, int i_id){
		m_Name = i_Name;
		m_LastUse = i_LastUse;
		m_id = i_id;
	}
		
	public String getName(){
		return m_Name;
	}
	
	public void setName(String i_Name) {
		m_Name = i_Name;
	}

	public String getLastUse(){
		return m_LastUse;
	}
	
	public void setLastUse(String i_LastUse) {
		m_LastUse = i_LastUse;
	}
	
	public String getLogMsg(){
		return m_LogMsg;
	}
	
	public void setLogMsg(String i_LogMsg) {
		m_LogMsg = i_LogMsg + m_LogMsg;
	}
	
	public boolean isSelected() { 
		return m_Selected; 
		} 
	
	public void setSelected(boolean i_Selected) {  
		this.m_Selected = i_Selected;
		}
	
	public int getId() {
		return m_id;
	}
}
